export const tableOption = {
  "border": true,

  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "column": [
    {
      "type": "input",
      "label": "id",
      "prop": "id",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      type: 'upload',
      showFileList: true,
      multiple: false,
      limit: 10,
      "label": "轮播图",
      "prop": "img",
      span: 50,
      // action: '/admin/sys-file/upload',
      listType: 'picture-img',
      propsHttp: {
        name: 'hash',
        url: "key"
      },
      loadText: '附件上传中，请稍等',
      oss: 'qiniu',
      rules: [
        {
          required: true,
          message: "没上传图",
          trigger: "blur"
        }
      ]
    },
    {
      "type": "input",
      "label": "title",
      "prop": "title"
    },
    {
      "type": "input",
      "label": "播放顺序",
      "prop": "imgindex"
    },
    {
      "type": "input",
      "label": "跳转连接",
      "prop": "jumpUrl"
    },
    {
      // "label": "是否生效：0-未生效， 1-生效",
      "label": "是否启用",
      "prop": "isAct",
      type: 'switch',
      span: 24,
      display: true,
      value: '0',
      dicData: [
        {
          label: '不启用',
          value: '0'
        },
        {
          label: '启用',
          value: '1'
        }
      ],
    },
    {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "创建者",
      "prop": "createBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "更新人",
      "prop": "updateBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    }
  ]
}
